package com.pluszg.nutrition.product.service;

import com.pluszg.nutrition.model.product.Product;
import org.w3c.dom.stylesheets.LinkStyle;

import java.util.List;

public interface ProductService {

    Product add(Product product);

    Product findById (String id);

    List<Product> list (Product product);

    Product modify (Product product);

    Boolean delete (String id);

    void deduct (String productCode, Integer deductCount);
}
